﻿@model Web.ViewModels.UserProfileModel
 
<div id="lightbox_shadow">&nbsp;</div>
<div class="lightbox" id="editProfileBox">
<div class=" lightbox_line ">
    <a href="#" class="lightbox_close">Закрыть</a>
 @using (Html.BeginForm("UpdateProfile", "User", FormMethod.Post, new { enctype = "multipart/form-data" }))
 {
	<fieldset>
		@Html.Hidden("id", Model.Id)
		<div class="clear" >
		@Html.LabelFor(x => x.DisplayName, "Имя")
		@Html.TextBoxFor(x => x.DisplayName, new { placeholder = "Александр Пушкин" })
        @Html.ValidationMessageFor(x => x.DisplayName)
		</div>
		<div class="clear" >
		@Html.LabelFor(x => x.NotificationEmail, "E-mail для уведомлений")
		@Html.TextBoxFor(x => x.NotificationEmail, new { placeholder = "pushkin@gmail.com" })
		@Html.ValidationMessageFor(x => x.NotificationEmail)
       </div>
		<div class="clear" >
        @Html.LabelFor(x => x.HideEmail, "Скрыть E-mail")
		@Html.CheckBoxFor(x => x.HideEmail)
		</div>
		<div class="clear" >
		@Html.LabelFor(x => x.Skills, "Умения")
		@Html.TextBoxFor(x => x.Skills, new { placeholder = "Играть на гитаре, рисовать логотипы" })
        @Html.ValidationMessageFor(x => x.Skills)
		</div>
		<div class="clear" >
		@Html.LabelFor(x => x.Interests, "Интересы")
		@Html.TextBoxFor(x => x.Interests, new { placeholder="Ходить в походы, кошечки"})
        @Html.ValidationMessageFor(x => x.Interests)
		</div>
		<div class="clear" >
        @Html.LabelFor(x => x.Contacts, "Контакты")
		@Html.TextBoxFor(x => x.Contacts, new { placeholder = "Номер телефона, скайп, аська и пр" })
        @Html.ValidationMessageFor(x => x.Contacts)
		</div>
	</fieldset>
	@Html.SubmitButton(null, "Сохранить")
}
</div>
</div>